<?PHP $this->Html->css('management', null, array('inline' => false)); ?>
<div class="societes index">
	<h2><?php echo __('Societes');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('id_societe');?></th>
			<th><?php echo $this->Paginator->sort('raison_sociale');?></th>
			<th><?php echo $this->Paginator->sort('contact_administratif');?></th>
			<th><?php echo $this->Paginator->sort('adresse_facturation');?></th>
			<th><?php echo $this->Paginator->sort('code_postal_societe');?></th>
			<th><?php echo $this->Paginator->sort('ville_societe');?></th>
			<th><?php echo $this->Paginator->sort('telephone_administratif');?></th>
			<th><?php echo $this->Paginator->sort('mail_administratif');?></th>
			<th><?php echo $this->Paginator->sort('fax_administratif');?></th>
			<th><?php echo $this->Paginator->sort('contact_technique');?></th>
			<th><?php echo $this->Paginator->sort('telephone_technique');?></th>
			<th><?php echo $this->Paginator->sort('mail_technique');?></th>
			<th class="actions"><?php echo __('Actions');?></th>
	</tr>
	<?php
	foreach ($societes as $societe): ?>
	<tr>
		<td><?php echo h($societe['Societe']['id_societe']); ?>&nbsp;</td>
		<td><?php echo h($societe['Societe']['raison_sociale']); ?>&nbsp;</td>
		<td><?php echo h($societe['Societe']['contact_administratif']); ?>&nbsp;</td>
		<td><?php echo h($societe['Societe']['adresse_facturation']); ?>&nbsp;</td>
		<td><?php echo h($societe['Societe']['code_postal_societe']); ?>&nbsp;</td>
		<td><?php echo h($societe['Societe']['ville_societe']); ?>&nbsp;</td>
		<td><?php echo h($societe['Societe']['telephone_administratif']); ?>&nbsp;</td>
		<td><?php echo h($societe['Societe']['mail_administratif']); ?>&nbsp;</td>
		<td><?php echo h($societe['Societe']['fax_administratif']); ?>&nbsp;</td>
		<td><?php echo h($societe['Societe']['contact_technique']); ?>&nbsp;</td>
		<td><?php echo h($societe['Societe']['telephone_technique']); ?>&nbsp;</td>
		<td><?php echo h($societe['Societe']['mail_technique']); ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('Voir'), array('action' => 'view', $societe['Societe']['id_societe'])); ?>
			<?php echo $this->Html->link(__('Modifier'), array('action' => 'edit', $societe['Societe']['id_societe'])); ?>
			<?php echo $this->Form->postLink(__('Supprimer'), array('action' => 'delete', $societe['Societe']['id_societe']), null, __('Are you sure you want to delete # %s?', $societe['Societe']['id_societe'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} sur {:pages}')
	));
	?>	</p>

	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('précédent'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('suivant') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>
<div class="actions">
	<h3><?php echo __('Vous pouvez aussi ...'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Créer un client'), array('action' => 'add')); ?></li>
	</ul>
</div>
